from django.contrib import admin
from blog.models import User


# Register your models here.
class CommentAdmin(admin.ModelAdmin):
    list_display = ['username', 'body', 'title']
    search_fields = ['title']  # 搜索框


admin.site.register(User)
